package cn.iocoder.yudao.module.wine.controller.app.supplyorderevaluate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "用户 APP - 订单评价新增/修改 Request VO")
@Data
public class AppSupplyOrderEvaluateSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "主键")
    private Long id;

    @Schema(description = "发布评价用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "发布评价用户id")
    private Long fromUserId;

    @Schema(description = "收到评价用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "收到评价用户id")
    private Long toUserId;

    @Schema(description = "评价内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "评价内容")
    @NotEmpty(message = "评价内容不能为空")
    private String evaluateContent;

    @Schema(description = "1 好评 2差评", requiredMode = Schema.RequiredMode.REQUIRED, example = "1 好评 2差评")
    @NotNull(message = "1 好评 2差评不能为空")
    private Integer evaluateStatus;

    @Schema(description = "订单id", requiredMode = Schema.RequiredMode.REQUIRED, example = "订单id")
    private Long orderId;

    @Schema(description = "供求信息id", requiredMode = Schema.RequiredMode.REQUIRED, example = "供求信息id")
    private Long supplyInfoId;

}
